import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import Mint from "mint-ui";
import zydm from "@/assets/js/zydm.js"; //公用变量
import main from "@/assets/js/public.js"; //公用js
import http from "@/assets/js/http.js";
import getInfo from "@/assets/js/getInfo.js";
import "@/assets/css/public.css"; //公用css
import "mint-ui/lib/style.min.css";
import appHeader from "@/components/appHeader.vue"; //公用头部
import wx from 'weixin-js-sdk';
import ElementUI from 'element-ui';
import  'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI);
Vue.use(require('vue-wechat-title')); //微信修改title用的
Vue.prototype.wx = wx;
Vue.prototype.$axios = http;
Vue.prototype.$public = main;
Vue.prototype.$getInfo = getInfo;
Vue.use(Mint);
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
Vue.component('app-header', appHeader)